package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Department;
import cn.wolfcode.crm.page.PageResult;
import cn.wolfcode.crm.query.QueryObject;

import java.util.List;

public interface IDepartmentService {
    void saveOrUpdate(Department department);

    Department get(Long id);

    void delete(Long id);

    List<Department> selectAll();

    PageResult query(QueryObject qo);

    void updateState(Long id);
}
